package com.chinasolf.service;

import com.chinasoft.model.hosp.Schedule;
import com.chinasoft.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    //上传排班
    void saveSchedule(Map<String, Object> map);
    //获取分页查询
    Page<Schedule> selectPage(int page, int limit);
    //删除排班
    void remove(String hoscode, String hosScheduleId);
    //根据医院编号和科室编号,分查询
    Map<String, Object> getScheduleRule(long page, long limit, String hoscode, String depcode);
    //根据医院编号 、科室编号和工作日期，查询排班详细信息
    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getSchedule(String id);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    void updateSchedule(Schedule schedule);
}
